﻿using PetaPoco;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BrnMall.Manager.Domain.AddressBook
{
    /// <summary>
    /// 客户与标签的关系实体
    /// </summary>
    [TableName("crm_ClientRelations")]
    [PrimaryKey("id")]
    public class ClientRelations
    {
        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 部门成员id
        /// </summary>
        public int StaffId { get; set; }
        /// <summary>
        /// 标签id
        /// </summary>
        public int ClientTagid { get; set; }
        /// <summary>
        /// 客户ID
        /// </summary>
        public int Clientid { get; set; }
        /// <summary>
        /// 客户昵称或备注名
        /// </summary>
        public string NickName { get; set; }
        /// <summary>
        /// 用户图片
        /// </summary>
        public string Avatar { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime Addtime { get; set; }
    }
}